package com.duoduo.admin.api.vo;

import java.util.List;
import com.duoduo.admin.api.dto.SysMenuDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name="返回前端菜单封装")
public class MenuVO {
	
	@Schema(description="菜单id")
	private Long id;
	private String name;
	@Schema(description="该路由对应页面的 组件")
	private String component;
	@Schema(description="前端URL")
	private String path;
	@Schema(description="父菜单ID")
	private String parentId;
	private MenuMetaVO meta;
	
	private List<SysMenuDTO> children;
}
